package com.github.kt


/**
 *  collection  kt
 *
 * @author <a href="https://github.com/karai-oss">Mr.xie</a>
 * @Date 2025/5/6
 */


/**
 * 判断集合是否为空
 */
fun Collection<Any>?.checkNull(): Boolean {
    return this == null || this.size == 0
}